home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Statements / Camera definition.txt < prev    next >
Encoding:
Text File  |  2000-04-06  |  946 b   |  20 lines

  1. // set viewer's position in the scene
  2. camera
  3. {
  4. // (camera types)
  5. //  perspective (default) | orthographic | fisheye |
  6. //  ultra_wide_angle | omnimax | panoramic | cylinder 1
  7.   location  <0.0, 1.0, -6.0> // position of camera <X Y Z>
  8.   direction 2.0*z            // which way are we looking <X Y Z> & zoom
  9. //  sky       y                // rarely used
  10.   up        y                // which way is +up <X Y Z>
  11.   right     4/3*x            // which way is +right <X Y Z> and aspect ratio
  12.   look_at   <0.0, 0.0,  0.0> // point center of view at this point <X Y Z>
  13. //  angle FLOAT                // overrides "direction" with specific angle
  14. //  normal { ripples 0.2 }     // perturb the camera lens with a pattern
  15. // (focal blur extras)
  16. //  aperture 0.2               // 0...N (bigger is narrower depth of field)
  17. //  blur_samples 4             // # of rays per pixel
  18. //  focal_point <VECTOR>       // x,y,z point that is in focus
  19. }
  20.